#include<stdio.h>
#include<iostream>

using namespace std;
int main(){
	
	int a[100],b[100];
	
	for(int i=0;i<99;i++){
		a[i]=i+1;b[i]=i;
		printf("%3d",a[i-1]);
	}	cout<<endl;
	for(int i=0;i<99;i++){
		a[i]=i+1;b[i]=i;
		printf("%3d",b[i-1]);
	}	cout<<endl;
	for(int i=0;i<99;i++){
		a[i]=i+1;b[i]=i;
		printf("%3d",a[i-1]+b[i-1]);
	}	cout<<endl;
	
	
   

	return 0;
}

